import request from '@/utils/request'

// 查询货位信息列表
export function listWmsWarehouseLocation(query) {
  return request({
    url: '/system/wmsWarehouseLocation/list',
    method: 'get',
    params: query
  })
}

// 查询货位信息详细
export function getWmsWarehouseLocation(locationId) {
  return request({
    url: '/system/wmsWarehouseLocation/' + locationId,
    method: 'get'
  })
}

// 新增货位信息
export function addWmsWarehouseLocation(data) {
  return request({
    url: '/system/wmsWarehouseLocation',
    method: 'post',
    data: data
  })
}

// 修改货位信息
export function updateWmsWarehouseLocation(data) {
  return request({
    url: '/system/wmsWarehouseLocation',
    method: 'put',
    data: data
  })
}

// 删除货位信息
export function delWmsWarehouseLocation(locationId) {
  return request({
    url: '/system/wmsWarehouseLocation/' + locationId,
    method: 'delete'
  })
}



